home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-04 / vol11n08.zip / DEMO7 < prev    next >
Text File  |  1992-02-02  |  618b  |  25 lines

  1. # Update the resource if necessary
  2.  
  3. demo7.res: demo7.rc demo7.h
  4.     rc -r demo7.rc
  5.  
  6. # Update the object file if necessary
  7.  
  8. demo7.obj: demo7.c demo7.h
  9.     cl -Zi -c -AS -Gsw -Oas -Zpe demo7.c
  10.  
  11. # Update the executable file if necessary, and if so, add the resource back in.
  12.  
  13. demo7.exe: demo7.obj demo7.def
  14.     link /CODEVIEW /NOD demo7,,, penwin libw slibcew, demo7.def
  15.     rc demo7.res
  16.  
  17. # If the .res file is new and the .exe file is not, update the resource.
  18. # Note that the .rc file can be updated without having to either 
  19. # compile or link the file.
  20.  
  21. demo7.exe: demo7.res
  22.     rc demo7.res
  23.  
  24.  
  25.